﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.ServiceModel.Web;
using System.ServiceModel;

namespace COFE.Web.Services
{
    [ServiceContract]
    public interface ISearchServices
    {
        /// <summary>
        /// Return a created search request.
        /// </summary>
        /// <param name="searchID"></param>
        /// <returns>Entrylist stream</returns>
        [OperationContract]
        [WebGet(UriTemplate = "?json={json}&filter={filter}")]
        Stream GetSearchResult(string json, string filter);
    }
}